#ifndef WIDGET_H
#define WIDGET_H

#include <QtWebKit>
#include <QtSql>
#include <QWidget>
#include "ui_SearchWindow.h"

#include "Counter.h"


class CSearchWindow : public QWidget
{
    Q_OBJECT

public:
    explicit CSearchWindow(QWidget *parent = 0);
    ~CSearchWindow();

private slots:
    void doSearch();
    void parseNetworkData();

private:
    void storeNetworkData( QWebElementCollection& );

private:
    Ui::SearchWindow *m_Ui ;

    CCounter m_Counter ;
    QWebView* m_View ;
};

#endif // WIDGET_H
